Simplex Theme A Theme for Premium URL Shortener by KBRmedia

Table of Content

Introduction

Thank you for purchasing this awesome theme! This documentation will help you get familiar with this theme. Please don't forget to leave this theme a good rating and we would really appreciate if you can also leave us a good rating. If this theme did not meet your expectation, please before leaving a low rating, contact us and hopefully, we can fix any issues you are having.

An up-to-date documenation is available online 24/7 and can be access via our portal.

Useful Links

Customer Portal

Follow us on Envato

Follow us on Twitter

Like our page on Facebook

Dedicated Support Portal

License (learn more)

Two types of license are available: Regular or Extended. If you are using this script for multiple websites, you must buy a license for each of them.

Items purchased under a Regular or Extended License may NOT be redistributed or resold "as-is" or as part of any other collection of image resources or files. You do not own the software but simply own a license to operate it therefore the author of this item has full rights on this item.

Regular License Examples (from Envato)

The Regular License could be used for the following:

  • Single website (commercial, personal, or non-profit).
  • Single website for a client (commercial, personal, or non-profit).
  • Single intranet site project.

Extended License Examples (from Envato)

The Extended License could be used for any of the following:

  • An online service where the file can be displayed on multiple users' pages.
  • Part of a software package for sale.

Support

If you stumble upon an issue or if you need help you may contact via my codecanyon profile and I would be happy to help you.

Installation

Installation

This installation of theme is very easy. Upload simplex.zip to themes/ folder on your server then extract it there. Once you extract it, you should see a folder named "simplex". The themes are in that folder.

Once you have extracted it, go to your admin panel and you should see a theme named "Simplex". All you have to do is to activate it.

Configuration

Styles

This theme comes with 6 different color that you can easily switch via the settings page of the admin panel. Please note that the color defined in the admin doesn't necessarily reflect the actual style color. This option will be changed in a future update of Premium URL Shortener. Below is a list of styles available.

  • Default Style
  • Green
  • Orange
  • Yellow
  • Blue
  • Custom* - This is defined a gray color in the style selector in the settings

* The custom style is actualy a darkish color but it includes a background on the homepage. Please note that this background can be added to any other styles by following the instructions below. The default background is from http://unsplash.com which provides free backgrounds. Thank you Caroline Gutman :)

Style Generator

This theme includes two LESS files that you can use to generate custom styles. LESS is dynamic CSS processor that is very easy to work with. You cannot directly use LESS because it requires its JS library however you will need to process it using a LESS processor. Once you have done all of your changes, you can use any of the online processors to generate CSS files. Below is a list of LESS along with description.

Main Stylesheet: style.less

This file has all of the style clauses that your will find in style.css. You can change this file if you want to change the layout and other stuff.

Style Generator: color.less

If you want to simply generate styles, you can use this file.

How to use LESS

You don't need to have a very good knowledge of LESS to work with it. If you open one of the files in a text editor, you will see right at beginning the following. The following is what you can use to generate different styles. All you need to do is to change hex colors in the right side and then copy everything and paste into the LESS processor that you can easily find online.

@blue: #54ACE7;
@green: #53D566;
@red: #F75151;
@black: #232730;
@yellow: #f4b04f;

@body_color: #E7EAED; // Body color
@content_bg: #fff; // Content BG

@main: #e4813f; // Main Color - This is the main color that will be use throughout the stylesheet. Make sure it is not too light

@header: #fff; // Header Bg
@header_color: @black; // Header color

@mainForm: #fff; // Shortener Form Bg

@sidebar: @black; // Sidebar Color

@facebook_button: #3B5998; // Color of facebook button
@twitter_button: #409DD5; // Color of twitter button
@google_button: #D34836; // Color of google button				
			

How to add a custom background

Currently the only style that has a background is custom.css. If you open that file, you will find the code below. Notice the highlighted part. This is the path to the image located in the THEMEFOLDER/static/. You can also add url(../static/YOUIMAGE) in the any of the other stylesheets.

section.main-section {
  background: #393f4d url(static/splash.jpg);
  border-bottom: 1px solid #232730;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  border-top: 2px solid #232730;
  border-top: 2px solid rgba(0, 0, 0, 0.2);
  color: white;
}	

Remove Latest URLs on Homepage

This theme comes with a new block on the homepage for the latest URLs. If you open THEMESFOLDER/index.php, you will see the code below. If you want to remove this, remove the whole code. If you want to change the number of URLs to show then you can change highlighted part.

<?php if($urls = $this->db->get("url",array("public" => "1", "userid" => "0"),array("limit"=>10,"order"=>"date"))): ?>
  <section class="dark urls-holder">
    <div class="container content">
      <div class="row" id="user-content">
        <div class="col-md-8 addmargin" id="data-container">
          <h2><?php echo e("Latest Public URLs") ?></h2> 
          <?php $user = new stdClass; $user->domain = $this->config["url"] ?>
          <?php foreach ($urls as $url): ?>
            <?php include(TEMPLATE."/components/public_url_loop.php") ?>       
          <?php endforeach ?>     
        </div>
        <div class="col-md-4 addmargin text-right">
          <?php echo $this->ads(300,0) ?>
        </div>
      </div>    
    </div>
  </section>  
<?php endif ?>